package com.prs.crm.domain.cqunicom;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author  WangTing
 *
 * 创建时间：2011-3-17
 */
@Entity
@Table(name = "cq_OrderConnecting")
public class OrderConnecting extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 公司名称
	 */
	@ManyToOne
	private Company companyy;
	
	/**
	 * 开始时间
	 */
	private Date startTime;
	/**
	 * 结束时间
	 */
	private Date endTime;
	
	/**
	 * 发送时间
	 */
	private Date sendTime;
	
	/**
	 * 是否有问题
	 */
	private  String  ynproblem;

	/**
	 * 备注
	 */

	@Lob
	private String remarks;
	/**
	 * z转接单数量
	 * @return
	 */
	private  String trferNum;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getYnproblem() {
		return ynproblem;
	}

	public String getTrferNum() {
		return trferNum;
	}

	public void setTrferNum(String trferNum) {
		this.trferNum = trferNum;
	}

	public void setYnproblem(String ynproblem) {
		this.ynproblem = ynproblem;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Company getCompanyy() {
		return companyy;
	}

	public void setCompanyy(Company companyy) {
		this.companyy = companyy;
	}



	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	
}
